System and method for recovering from a configuration error

ABSTRACT

A system and method for recovering from a configuration error are disclosed. A Basic Input Output System (BIOS) configures a memory associated with a node of an information handling system and enables a progress monitoring process during configuration of the memory. The memory is disabled if the BIOS determines that a configuration error occurred and a memory reference code associated with the memory is modified in order to prevent a reset of the information handling system.

TECHNICAL FIELD

The present disclosure relates in general to information handlingsystems, and more particularly to systems and methods for recoveringfrom a configuration error.

BACKGROUND

As the value and use of information continues to increase, individualsand businesses seek additional ways to process and store information.One option available to users is information handling systems. Aninformation handling system generally processes, compiles, stores,and/or communicates information or data for business, personal, or otherpurposes thereby allowing users to take advantage of the value of theinformation. Because technology and information handling needs andrequirements vary between different users or applications, informationhandling systems may also vary regarding what information is handled,how the information is handled, how much information is processed,stored, or communicated, and how quickly and efficiently the informationmay be processed, stored, or communicated. The variations in informationhandling systems allow for information handling systems to be general orconfigured for a specific user or specific use such as financialtransaction processing, airline reservations, enterprise data storage,or global communications. In addition, information handling systems mayinclude a variety of hardware and software components that may beconfigured to process, store, and communicate information and mayinclude one or more computer systems, data storage systems, andnetworking systems.

Information handling systems often use one or more processors and one ormore associated memories to process and store information. Physical andlogical relationships among processors and their associated memory maybe established according to any number of architectures. For example,processors and memories may be logically organized based on anon-uniform memory access (NUMA) architecture. In a NUMA architecture,each processor in an information handling system may have its ownseparate, dedicated memory. The NUMA architecture may be advantageousfor a number of reasons. First, a processor can often access memoryphysically proximate to the processor (e.g., local memory) faster thannon-local memory (e.g., memory local to another processor or memoryshared between processors). Second, a NUMA-aware operating system mayoptimize overall memory bandwidth and allocated local memory to aprocessor by providing a dedicated memory for each processor.

During startup of an information handling system, the components of thesystem may initialized by a basic input/output system (BIOS). Theinitialization process may determine certain attributes, including thetype, speed, time factoring and size of the memory in the informationhandling system. The initialization process may also test and/or trainthe memory to ensure that they are functioning properly. However, when amemory failure is detected, the information handling system may resetwithout properly identifying the problem. In this case, the informationhandling system may be re-initialized, the memory failure of may bedetected again, and the information handling system may be reset again,creating an infinite loop.

SUMMARY

In accordance with the present disclosure, the disadvantages andproblems associated with recovering from a configuration error have beensubstantially reduced or eliminated. In a particular embodiment, amethod for recovering from a configuration error in an informationhandling system includes configuring a memory associated with a node ofan information handling system and enabling a progress monitoringprocess by a Basic Input Output System (BIOS) during configuration ofthe memory. The memory is disabled if the BIOS determines that aconfiguration error occurred. A memory reference code associated withthe memory may be modified in order to prevent a reset of theinformation handling system.

In accordance with another embodiment of the present disclosure, aninformation handling system configured to recover from a configurationerror includes a node having a processor and a memory communicativelycoupled to the processor. The node may be communicatively coupled to achipset including a Basic Input Output System (BIOS). The BIOS may beoperable to configure the memory and enable a progress monitoringprocess during configuration of the memory. The BIOS may further beoperable to disable the memory if a configuration error occurs andmodify a memory reference code associated with the memory in order toprevent a reset of the information handling system.

In accordance with a further embodiment of the present disclosure, amethod for recovering from a configuration error in an informationhandling system includes configuring a plurality of nodes in aninformation handling system, where each of the plurality of nodesincludes at least one dual in-line memory modules (DIMM). A Basic InputOutput System (BIOS) enables a progress monitoring process duringconfiguration of the nodes. A node of the plurality of nodes is disabledif the BIOS determines that the configuration error occurred in the atleast one DIMM associated with the node. The memory reference codeassociated with the at least one DIMM including the configuration erroris modified in order to prevent a reset of the information handlingsystem.

BRIEF DESCRIPTION OF THE DRAWINGS

A more complete understanding of the present embodiments and advantagesthereof may be acquired by referring to the following description takenin conjunction with the accompanying drawings, in which like referencenumbers indicate like features, and wherein:

FIG. 1 illustrates an example embodiment of an information handlingsystem in accordance with the teachings of the present disclosure; and

FIG. 2 illustrates a flow chart of an example method for recovering froma configuration error in accordance with the teachings of the presentdisclosure.

DETAILED DESCRIPTION

Embodiments of the present disclosure and their advantages are bestunderstood by reference to FIGS. 1 and 2, where like numbers are used toindicate like and corresponding parts.

For the purposes of this disclosure, an information handling system mayinclude any instrumentality or aggregate of instrumentalities operableto compute, classify, process, transmit, receive, retrieve, originate,switch, store, display, manifest, detect, record, reproduce, handle, orutilize any form of information, intelligence, or data for business,scientific, control, entertainment, or other purposes. For example, aninformation handling system may be a personal computer, a PDA, aconsumer electronic device, a network storage device, or any othersuitable device and may vary in size, shape, performance, functionality,and price. The information handling system may include memory, one ormore processing resources such as a central processing unit (CPU) orhardware or software control logic. Additional components or theinformation handling system may include one or more storage devices, oneor more communications ports for communicating with external devices aswell as various input and output (I/O) devices, such as a keyboard, amouse, and a video display. The information handling system may alsoinclude one or more buses operable to transmit communication between thevarious hardware components.

For the purposes of this disclosure, computer-readable media may includeany instrumentality or aggregation of instrumentalities that may retaindata and/or instructions for a period of time. Computer-readable mediamay include, without limitation, storage media such as a direct accessstorage device (e.g., a hard disk drive or floppy disk), a sequentialaccess storage device (e.g., a tape disk drive), compact disk, CD-ROM,DVD, random access memory (RAM), read-only memory (ROM), electricallyerasable programmable read-only memory (EEPROM), and/or flash memory.

FIG. 1 illustrates an example information handling system 100 inaccordance with the teachings of the present disclosure. Informationhandling system 100 may include one or more nodes 101 configured tointerpret and/or execute program instructions. In some embodiments,information handling system 100 may be configured as a non-uniformmemory access (NUMA) system where each of nodes 101 may becommunicatively coupled to at least one other node 101 via one or morebidirectional high-bandwidth buses.

In some embodiments, each of nodes 101 may include processor 102 and/ormemory 106. Processor 102 may include any system, device, or apparatusoperable to interpret and/or execute program instructions and/or processdata, and may include, without limitation, a microprocessor,microcontroller, digital signal processor (DSP), application specificintegrated circuit (ASIC), or any other digital or analog circuitryconfigured to interpret and/or execute program instructions and/orprocess data. In some embodiments, processor 102 may interpret and/orexecute program instructions and/or process data stored in memory 106and/or another component of information handling system 100, and mayoutput results, graphical user interfaces (GUIs), websites, and the likevia a display device (e.g., display 112) or over a network interface(not expressly shown). Although FIG. 1 illustrates one processor pernode, other embodiments may allow for more than one processor per node.

Memory 106 may be communicatively coupled to processor 102 and mayinclude any system, device, or apparatus configured to retain programinstructions and/or data for a period of time (e.g., computer-readablemedia). Memory 106 may be programmable read-only memory (PROM), erasableprogrammable read-only memory (EPROM), electronically erasableprogrammable memory, a PCMCIA card, flash memory, magnetic storage,opto-magnetic storage, or any suitable selection and/or array ofvolatile or non-volatile memory that retains data after power toinformation handling system 100 is turned off. Memory 106 may also beany one of random access memory (RAM), dynamic random access memory(DRAM), extended data out random access memory (EDO RAM), video randomaccess memory (VRAM), static random access memory (SRAM), synchronousDRAM (SDRAM), single in-line memory modules (SIMM), dual in-line memorymodules (DIMM), and/or any other suitable data storage medium. Memory106 may be a single component or formed by separate components. It isnoted that while FIG. 1 depicts each node 101 as having one memory 106,any suitable number of memory devices may be used.

Information handling system 100 may further include chipset 108communicatively coupled to one or more of nodes 101. In one embodiment,chipset 108 may be directly coupled to one node (e.g., node 101A) andindirectly connected to other nodes (e.g., nodes 101B through 101 n) ininformation handling system 100. In another embodiment, chipset 108 maybe directly coupled to all nodes 101 in information handling system 100.Information handling system 100 may further include display 112. Display112 may be communicatively coupled to chipset 108 or one or more ofnodes 101. Display 106 may be any display device suitable for creatinggraphic images and/or alphanumeric characters recognizable to a user,and may include, for example, a liquid crystal display (LCD) or acathode ray tube (CRT).

Chipset 108 may include Basic Input/Output System (BIOS) 110. Wheninformation handling system 100 is initialized, BIOS 110 may execute aPower On Self Test (POST) routine, as is well known to those of skill inthe art. After completion of the POST routine, BIOS 110 preferably handsoff to an operating system. During the POST routine, BIOS 110 mayperform data and address testing and training of memory 106, asdiscussed below.

In operation, during the initialization of information handling system100, BIOS 110 may be configured to execute diagnostics and otherroutines that prepare information handling system 100, and inparticular, nodes 101 for use. In some embodiments, BIOS 110 maydetermine attributes including, but not limited to, type, speed, timefactoring and size associated with memory 106. BIOS 110 may also testand/or train memory 106, and may map which of memory 106 of informationhandling system 100 will be available to the operating system onceinitialization is complete. The system memory map may be created by BIOS110 and communicated to the operating system through a memory mappingcall such as, for example, INT15-E820.

In one embodiment, BIOS 110 may disable the memory configurationrecovery process for information handling system 100 duringinitialization of the system and may enable a progress monitoringprocess to monitor the progress of the configuration of memory 106 innode 101. The progress monitoring process may determine whether aconfiguration error occurred in one or more of memory 106 and disablethe failed memory or the entire node associated with the failed memoryso that information handling system 100 in order to avoid a reset ofinformation handling system 100 when an error is detected.

In one embodiment, information handling system 100 may initialize eachof nodes 101 sequentially such that, for example, node 101A isinitialized first and node 101N is initialized last. In this embodiment,BIOS 110 may write a pattern of data to a particular address of memory106A. In some embodiments, memory 106A may include multiple DIMMs andBIOS 110 may write to a memory address for each of the DIMMs. In oneembodiment, the data pattern may be simultaneously written to each ofthe multiple DIMMs. In another embodiment, the data pattern may besequentially written to each of the multiple DIMMs until the data hasbeen written to each one of the multiple DIMMs.

Once written to memory 106A, the data pattern may be subsequently readback by BIOS 110. If the data pattern read back from each of themultiple DIMMs are the same as the data pattern that was written themultiple DIMMs, BIOS 110 may determine that memory 106A passed the testand is functioning correctly. However, if the data pattern read backdoes not match the data pattern that was written or if BIOS 110 cannotwrite to one or more of the DIMMs, memory 106A may be deemed to havefailed the test due to an error. An error may occur when one or more ofthe DIMMs is not detected (e.g., the DIMM is not seated properly suchthat it may affect the electrical loading of a memory channel), when anaddress parity error is detected, and/or when the use and/orfunctionality of memory 106A is affected.

If all of the multiple DIMMs of memory 106A are functioning correctly,BIOS 110 may update a system memory map. The system memory map mayinclude information that indicates, for example, information regardingthe size of each individual DIMM of memory 106A, any reserved regionswithin each of the individual DIMMs, and/or other details specific tothe architecture of the multiple DIMMs including, for example, specificDIMMs of memory 106A that are functional and available to the operatingsystem.

If any of the DIMMs of memory 106A have an error, BIOS 110 may indicatethe error by setting a check bit in a register associated with memory106A. In some embodiments, the check bit may be a disable bit or anexclude bit, such that memory 106A is rendered unavailable to theoperating system. BIOS 110 may also update the system memory map toindicate that memory 106A is unavailable and may exclude memory 106A.

BIOS 110 may additionally modify a memory reference code associated withmemory 106A. In one embodiment, BIOS 110 may change the status of memory106A. For example, BIOS 110 may override the status of memory 106A inthe memory reference code to avoid a failure report, thus allowing BIOS110 to complete the initiation process of node 101A and to complete theinitiation process for the remaining nodes (e.g., node 101B to 101 n) ofinformation handling system 100.

In the described embodiment, BIOS 110 may disable memory 106 if at leastone of the DIMMs has an error such that the corresponding one of nodes101 is also disabled. In other embodiments, BIOS 110 may partiallydisable memory 106 based on the channel associated with the DIMM thathas an error. For example, memory 106A may include four DIMMs that maybe coupled to processor 102A by two channels. If BIOS 110 determinesthat one of the DIMMs associated with a first channel has an error butboth of the DIMMs associated with a second channel are functioningcorrectly, BIOS 110 may disable the DIMMs associated with the firstchannel but may indicate that the DIMMs associated with the secondchannel are available to the operating system. Thus, BIOS 110 maypartially enable node 101A with respect to the portions of memory 106Aassociated with the second channel.

Once BIOS 110 has initialized all nodes 101, any errors associated withmemory 106 in nodes 101 may be displayed to a user on display 112 sothat the errors can be diagnosed and corrected. If the errors can becorrected, information handling system 100 may be re-initialized suchthat the previously disabled memory 106 can be enabled and madeavailable to the operating system.

FIG. 2 illustrates a method 200 for recovering from a memoryconfiguration error in accordance with the teachings of the presentdisclosure. At step 202, BIOS 110 determines if the reset of informationhandling system 100 is a cold or hard reset. If the reset is not a coldor hard reset (e.g., information handling system 100 is reset by a warmor soft reset), the method proceeds to step 208 without disabling thememory recovery process. If the reset is a cold or hard reset, BIOS 110disables the memory configuration recovery process for informationhandling system 100 at step 204 and enables a progress monitoringprocess for monitoring the configuration of memory 106 in nodes 101 atstep 206. In one embodiment, BIOS 110 may enable the progress monitoringprocess by initializing a memory configuration progress flag.

After enabling the progress monitoring process, BIOS 110 initializesinformation handling system 100 by configuring memory 106 in nodes 101at step 208. In one embodiment, one or more of memory 106 may includemultiple DIMMs. BIOS 110 may determine attributes such as, for example,type, speed, time factoring and size associated with each of themultiple DIMMs of memory 106. During configuration, BIOS 110 may alsotest and/or train each of the multiple DIMMs of memory 106. In someembodiments, BIOS 110 may write a pattern of data to a particular memoryaddress of one or more of the multiple DIMMs of memory 106. In oneembodiment, the data pattern may be simultaneously written to each ofthe multiple DIMMs. In another embodiment, the data pattern may besequentially written to each of the multiple DIMMs until the data hasbeen written to each one of the multiple DIMMs.

At step 210, BIOS 110 may determine if a memory configuration erroroccurred in one or more of memory 106 by using the progress monitoringprocess to monitor configuration of memory 106 in nodes 101. In someembodiments, BIOS 110 may interface with the memory reference code usingthe progress monitoring process to monitor the memory training orconfiguration process for each node 101 in order to determine if amemory configuration error occurred.

During configuration, BIOS 110 may read the data pattern from theparticular memory address of memory 106 to determine if the multipleDIMMs are functioning properly. In one embodiment, BIOS 110 maysimultaneously read the data pattern from each of the multiple DIMMs. Inanother embodiment, BIOS 110 may sequentially read the data pattern fromeach of the multiple DIMMs until the data pattern has been read fromeach one of the multiple DIMMs. If the data pattern read by BIOS 110 foreach of the multiple DIMMs matches the data pattern that was written,indicating that no memory configuration error occurred duringconfiguration, method 200 may proceed to step 214.

If BIOS 110 determines that there is a memory configuration error in oneor more of memory 106 (e.g., the data pattern read by BIOS 110 does notmatch the written data pattern), BIOS 110 may disable the failed memorythrough the progress monitoring process at step 212. In one embodiment,BIOS 110 may disable the failed memory by setting a check bit, such as adisable bit or an exclude bit, in a register associated with the failedmemory. In one embodiment, BIOS 110 may disable an entire node if atleast one of the DIMMs of the associated memory has a memoryconfiguration error. In other embodiments, BIOS 110 may partiallydisable the failed memory based on the memory channel associated withthe failed DIMM. In this embodiment, the node will be partially enabledsuch that the operating system can access the portions of memory 106through the channel associated with the DIMMs that BIOS 110 determinedwere functioning correctly. BIOS 110 may additionally report any errorsin memory 106 by updating a system memory map to indicate that memory106 has failed.

At step 214, BIOS 110 may enable the memory configuration recoveryprocess if it was previously disabled. At step 216, BIOS 110 may againenable a progress monitoring process for monitoring the configuration ofmemory 106 in nodes 101. Method 200 may then proceed to step 218 whereBIOS 110 may call a memory reference code associated with informationhandling system 100 and update the memory configuration progress flag aseach node 101 is configured. In one embodiment, BIOS 110 may overridethe failed status of memory 106 in the memory reference code, such thatthe initiation process of information handling system 100, and inparticular, the configuration of memory 106 may continue. By overridingthe status of the failed memory, BIOS 110 may prevent informationhandling system 100 from being reset and entering into an infinite loopdue to the failed memory.

At step 220, BIOS 110 may determine if an unexpected reset occurs. Inone embodiment, an unexpected reset could be caused by memoryconfiguration errors encountered during various stages of memorytraining (e.g., DDR phy fence training, DRAM channel frequency change,DRAM training, etc.). In other embodiments, an unexpected reset may becaused by factors including, but not limited to, a DIMM not being fullyinserted, an invalid memory configuration, a faulty DIMM, and an addressparity error. If an unexpected reset occurs, method 200 may return tostep 202 to start the initialization process over.

If an unexpected reset does not occur, BIOS 110 may disable the memoryconfiguration recovery process for information handling system 100 atstep 222. Additionally, the errors may be displayed to a user at display112 at step 224 so that the configuration errors can be diagnosed andcorrected.

Method 200 may be repeated for each node 101 of information handlingsystem. In some embodiments, method 200 may be performed in parallel foreach of nodes 101. In other embodiments, method 200 may be performedserially, e.g., first in node 101A, next in node 101B, etc.

Method 200 may be implemented using the system of FIG. 1, or any othersystem operable to implement method 200. As such, the preferredinitialization point for method 200 and the order of the steps in method200 may depend on the implementation chosen. In some embodiments, somesteps may be optionally omitted, repeated, or combined. In someembodiments, portions of method 200 may be combined. In certainembodiments, method 200 may be implemented partially or fully insoftware embodied in computer-readable media.

The system and method of the present disclosure provides for monitoringthe progress of a memory reference code during an initialization processin order to avoid a reset of information handling system 100 when anerror is detected. Whenever the code execution is out of an expectedsequence, the BIOS disables the memory of the failed node. By disablingthe failed memory, the BIOS limits the number of retries to enable thememory and thus, prevents the system from resetting due to the failedmemory and going into an infinite loop.

The system and method of the present disclosure also provides an errorlog in a system memory map, allowing for the error to be pinpointed andsubsequently corrected. If any errors are detected, the errors may bereported to a user. The reported errors can be diagnosed and corrected(e.g., replacing one or more DIMMs of memory 106) such that the systemcan be re-initialized in order to enable the previously disabled memory.

Although the present disclosure has been described in detail, it shouldbe understood that various changes, substitutions, and alterations canbe made hereto without departing from the spirit and the scope of thedisclosure as defined by the appended claims.

1.-20. (canceled)
 21. A method for recovering from errors in aninformation handling system, comprising: enabling a progress monitoringprocess by a Basic Input Output System (BIOS); determining, from theprogress monitoring process, whether a first memory configuration errorhas occurred on the information handling system; configuring a memoryincluded in a node of a plurality of nodes of an information handlingsystem, based on the determination of whether a first memoryconfiguration error has occurred, wherein each of the nodes includes aprocessor; disabling the memory based on a determination by the BIOSthat a second memory configuration error has occurred with respect tothe memory; and modifying a memory reference code associated with thememory in order to prevent a reset of the information handling system inresponse to the second memory configuration error.
 22. The method ofclaim 21, further comprising: determining whether a soft reboot occurredas a result of the first memory configuration error; and configuring thememory further based on the determination of whether the soft rebootoccurred as a result of the first memory configuration error.
 23. Themethod of claim 21, further comprising: writing a first data pattern tothe memory; reading a second data pattern from the memory; anddetermining whether the second data pattern matches the first datapattern.
 24. The method of claim 23, further comprising determining thatthe second memory configuration error occurred based on thedetermination of whether the second data pattern matches the first datapattern.
 25. The method of claim 21, further comprising setting a bit ina register associated with the memory in order to disable the memory.26. The method of claim 21, further comprising disabling the memory byexcluding the memory from use by an operating system executing on theinformation handling system.
 27. The method of claim 21, furthercomprising: enabling the memory configuration recovery process after thememory is disabled; and overriding a failed status of the memorysubsequent to disabling the memory.
 28. An information handling system,comprising: a processor; and computer-readable media comprisinginstructions readable by the processor; wherein the processor is to,when executing the instructions loaded from the computer-readable media:enable a progress monitoring process by a Basic Input Output System(BIOS); determine, from the progress monitoring process, whether a firstmemory configuration error has occurred on the information handlingsystem; configure a memory included in a node of a plurality of nodes ofan information handling system, based on the determination of whether afirst memory configuration error has occurred, wherein each of the nodesincludes a node processor; disable the memory based on a determinationby the BIOS that a second memory configuration error has occurred withrespect to the memory; and modify a memory reference code associatedwith the memory in order to prevent a reset of the information handlingsystem in response to the second memory configuration error.
 29. Theinformation handling system of claim 28, wherein the processor isfurther to: determine whether a soft reboot occurred as a result of thefirst memory configuration error; and configure the memory further basedon the determination of whether the soft reboot occurred as a result ofthe first memory configuration error.
 30. The information handlingsystem of claim 28, wherein the processor is further to: write a firstdata pattern to the memory; read a second data pattern from the memory;and determine whether the second data pattern matches the first datapattern.
 31. The information handling system of claim 30, wherein theprocessor is further to determine that the second memory configurationerror occurred based on the determination of whether the second datapattern matches the first data pattern.
 32. The information handlingsystem of claim 28, wherein the processor is further to set a bit in aregister associated with the memory in order to disable the memory. 33.The information handling system of claim 28, wherein the processor isfurther to disable the memory by excluding the memory from use by anoperating system executing on the information handling system.
 34. Theinformation handling system of claim 28, wherein the processor isfurther to: enable the memory configuration recovery process after thememory is disabled; and override a failed status of the memorysubsequent to disabling the memory.
 35. A computer-readable mediacomprising instructions readable by a processor, the instructions, whenloaded and executed on the processor, to cause the processor to: enablea progress monitoring process by a Basic Input Output System (BIOS);determine, from the progress monitoring process, whether a first memoryconfiguration error has occurred on the information handling system;configure a memory included in a node of a plurality of nodes of aninformation handling system, based on the determination of whether afirst memory configuration error has occurred, wherein each of the nodesincludes a node processor; disable the memory based on a determinationby the BIOS that a second memory configuration error has occurred withrespect to the memory; and modify a memory reference code associatedwith the memory in order to prevent a reset of the information handlingsystem in response to the second memory configuration error.
 36. Thecomputer-readable memory media of claim 35, further comprisinginstructions for causing the processor to: determine whether a softreboot occurred as a result of the first memory configuration error; andconfigure the memory further based on the determination of whether thesoft reboot occurred as a result of the first memory configurationerror.
 37. The computer-readable memory media of claim 35, furthercomprising instructions for causing the processor to: write a first datapattern to the memory; read a second data pattern from the memory; anddetermine whether the second data pattern matches the first datapattern.
 38. The computer-readable memory media of claim 37, furthercomprising instructions for causing the processor to determine that thesecond memory configuration error occurred based on the determination ofwhether the second data pattern matches the first data pattern.
 39. Thecomputer-readable memory media of claim 35, further comprisinginstructions for causing the processor to set a bit in a registerassociated with the memory in order to disable the memory.
 40. Thecomputer-readable memory media of claim 35, further comprisinginstructions for causing the processor to: enable the memoryconfiguration recovery process after the memory is disabled; andoverride a failed status of the memory subsequent to disabling thememory.